
package top.healthylife.gateway.platform.zd.api.api.querybynum.oldimpl;

import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;

/**
 * This object contains factory methods for each
 * Java content interface and Java element interface
 * generated in the com.tmp.services.querynum package.
 * <p>An ObjectFactory allows you to programatically
 * construct new instances of the Java representation
 * for XML content. The Java representation of XML
 * content can consist of schema derived interfaces
 * and classes representing the binding of schema
 * type definitions, element declarations and model
 * groups.  Factory methods for each of these are
 * provided in this class.
 */
@XmlRegistry
public class ObjectFactory {

    private final static QName _QueryByNum_QNAME = new QName("http://www.tmp.com/services/queryNum", "queryByNum");
    private final static QName _Exception_QNAME = new QName("http://www.tmp.com/services/queryNum", "Exception");
    private final static QName _QueryByNumResponse_QNAME = new QName("http://www.tmp.com/services/queryNum", "queryByNumResponse");

    /**
     * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.tmp.services.querynum
     */
    public ObjectFactory() {
    }

    /**
     * Create an instance of {@link Exception }
     */
    public Exception createException() {
        return new Exception();
    }

    /**
     * Create an instance of {@link QueryByNum }
     */
    public QueryByNum createQueryByNum() {
        return new QueryByNum();
    }

    /**
     * Create an instance of {@link QueryByNumResponse}
     */
    public  QueryByNumResponse createQueryByNumResponse() {
        return new  QueryByNumResponse();
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link QueryByNum }{@code >}}
     */
    @XmlElementDecl(namespace = "http://www.tmp.com/services/queryNum", name = "queryByNum")
    public JAXBElement<QueryByNum> createQueryByNum(QueryByNum value) {
        return new JAXBElement<QueryByNum>(_QueryByNum_QNAME, QueryByNum.class, null, value);
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link Exception }{@code >}}
     */
    @XmlElementDecl(namespace = "http://www.tmp.com/services/queryNum", name = "Exception")
    public JAXBElement<Exception> createException(Exception value) {
        return new JAXBElement<Exception>(_Exception_QNAME, Exception.class, null, value);
    }

    /**
     * Create an instance of {@link JAXBElement }{@code <}{@link QueryByNumResponse }{@code >}}
     */
    @XmlElementDecl(namespace = "http://www.tmp.com/services/queryNum", name = "queryByNumResponse")
    public JAXBElement<QueryByNumResponse> createQueryByNumResponse(QueryByNumResponse value) {
        return new JAXBElement<QueryByNumResponse>(_QueryByNumResponse_QNAME, QueryByNumResponse.class, null, value);
    }

}
